//
//  CGDTest.h
//  MutlThreads
//
//  Created by 赵梁 on 2018/1/8.
//  Copyright © 2018年 赵梁. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "EnumDefine.h"

@interface CGDTest : NSObject

- (void)testDispatchQueue:(MTDispatchQueueType)queueType isAsync:(BOOL)isAsync;

- (void)runTest;

- (void)testBody;

// GCD的栅栏方法 dispatch_barrier_async
- (void)barrier;

//GCD的快速迭代方法 dispatch_apply
- (void)apply;

//GCD的队列组 dispatch_group
- (void)group;
@end
